<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/index.css">
    <script src="js/axios.min.js"></script>
</head>

<body>
    <!-- 头部盒子 -->
    <header>
        <div class="weather"><img src="https://weather.cma.cn/static/img/w/icon/w1.png" alt="天气"
            width="45" height="45"
            ><a></a></div>
        <h1>吉安疫情数据监管平台</h1>
        <div class="showTime"></div>
    </header>


    <!-- 页面主题部分 -->
    <section class="mainbox">
        <div class="column">
            <div class="panel bar">
                <h2>新增本土确诊</h2>
                <div class="chart">图表</div>
                <div class="panel-footer"></div>
            </div>
            <div class="panel line">

                <h2>今日新增与解除隔离人数 <a id="a1" href="javascript:;">每周</a><a id="a2" href="javascript:;">每月</a></h2>
                <div class="chart">图表</div>
                <div class="panel-footer"></div>
            </div>
            <div class="panel pie">
                <h2>各地区无症状人数</h2>
                <div class="chart">图表</div>
                <div class="panel-footer"></div>
            </div>
        </div>
        <div class="column">

            <div class="no">

                <div class="no-hd">
                    <ul>
                        <li>123</li>
                        <li>456</li>
                    </ul>
                </div>
                <div class="no-bd">
                    <ul>
                        <li>累计新增人数</li>
                        <li>累计治愈人数</li>
                    </ul>
                </div>
                <!-- 地图模块 -->
                <div class="map">
                    <div class="mapbag"></div>
                    <div class="map2"></div>
                    <div class="map3"></div>
                    <div class="mapchart"></div>
                </div>
            </div>



        </div>
        <div class="column">
            <div class="panel bar2">
                <h2>各地区治愈人数</h2>
                <div class="chart">图表</div>
                <div class="panel-footer"></div>
            </div>
            <div class="panel line2">
                <h2>当日新增与治愈人数</h2>
                <div class="chart">图表</div>
                <div class="panel-footer"></div>
            </div>
            <div class="panel pie2">
                <h2>解除隔离人数</h2>
                <div class="chart">图表</div>
                <div class="panel-footer"></div>
            </div>
        </div>

    </section>



    <script src="js/jquery.js"></script>
    <script src="js/echarts.min.js"></script>
    <script src="js/flexible.js"></script>
    <script src="js/index.js"></script>
    <script>
        var t = null;
        t = setTimeout(time, 1000); //開始运行
        function time() {
            clearTimeout(t); //清除定时器
            dt = new Date();
            var y = dt.getFullYear();
            var mt = dt.getMonth() + 1;
            var day = dt.getDate();
            var h = dt.getHours(); //获取时
            var m = dt.getMinutes(); //获取分
            var s = dt.getSeconds(); //获取秒
            document.querySelector(".showTime").innerHTML =
                "当前时间：" +
                y +
                "年" +
                mt +
                "月" +
                day +
                "-" +
                h +
                "时" +
                m +
                "分" +
                s +
                "秒";
            t = setTimeout(time, 1000); //设定定时器，循环运行

            // 获取天气
            document.querySelector(".weather a").innerHTML = "25℃/17℃";
        }
    </script>
</body>

</html>